-- GENERATED SPELL FOR [Arcane Serpent] --


function spell0_25721(pUnit, Event) --@Arcane Jolt,n/a--
pUnit:FullCastSpellOnTarget(50504,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_25721', 3500, 1)
end

function Sorts_25721(pUnit, Event)
local choix_sorts_25721 = math.random(0, 0)
if choix_sorts_25721 == 0 then
pUnit:RegisterEvent('spell0_25721', 1, 1)
end
end

function mob25721_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_25721', math.random(1500, 3000), 1)
end

function mob25721_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob25721_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob25721_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(25721, 1, 'mob25721_Action')
RegisterUnitEvent(25721, 2, 'mob25721_Leave')
RegisterUnitEvent(25721, 3, 'mob25721_Kill')
RegisterUnitEvent(25721, 4, 'mob25721_Die')
